#include <iostream>
using namespace std;

int main()
{
	int a=-1,b=-1;
	cin>>a>>b;
	double num=a+(double)b/10;
	cout<<int(num/1.9)<<endl;
	return 0; 
}


